package com.epam.photographer.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PHOTOWRAPPER")
public class PhotoWrapper {
	@Id
	@Column(name = "ID")
	private int Id;
	@Column(name = "PHOTOGRAPHERID")
	private int photographerId;
	@Column(name = "ALBUMID")
	private int albumId;
	// private BufferedImage Photo;
	@Column(name = "TITLE")
	private String title;
	@Column(name = "URL")
	private String url;

	public int getId() {
		return Id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setId(int id) {
		Id = id;
	}

	public int getPhotographerId() {
		return photographerId;
	}

	public void setPhotographerId(int photographerId) {
		this.photographerId = photographerId;
	}

	public int getAlbumId() {
		return albumId;
	}

	public void setAlbumId(int albumId) {
		this.albumId = albumId;
	}

	/*
	 * public BufferedImage getPhoto() { return Photo; }
	 * 
	 * public void setPhoto(BufferedImage photo) { Photo = photo; }
	 */public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

}
